﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThucThe;
using KetNoi;
using System.Data;

namespace DieuKhien
{
    public class DiaDanh_dieukhien
    {
        DiaDanh_ketnoi kn = new DiaDanh_ketnoi();
        public DataTable danhSachDiaDanh()
        {
            return kn.danhSachDiaDanh();
        }
        public int themDiaDanh(DiaDanh_thucthe dd)
        {
            return kn.Them_DiaDanh(dd);
        }
        public int suaDiaDanh(DiaDanh_thucthe dd)
        {
            return kn.Sua_DiaDanh(dd);
        }
        public int xoaDiaDanh(DiaDanh_thucthe dd)
        {
            return kn.Xoa_DiaDanh(dd);
        }
        public DataTable timDiaDanh(DiaDanh_thucthe dd)
        {
            return kn.timDiaDanh(dd);
        }
    }
}
